//
//  NearHomeTableViewCell.swift
//  许鲜
//
//  Created by hbl on 16/4/25.
//  Copyright © 2016年 hbl. All rights reserved.
//

import UIKit
import YYWebImage

class NearHomeTableViewCell: UITableViewCell {
    @IBOutlet weak var photo: UIImageView!
    @IBOutlet weak var title: UILabel!
    var nearHomeModel:NearHomeModel?{
        didSet{
            photo.yy_setImageWithURL(NSURL(string: (nearHomeModel?.app_logo)!), placeholder: nil)
            title.text = nearHomeModel?.descrip
        }
    }
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
        title.font = UIFont.systemFontOfSize(12, weight: 1)
    }

    override func setSelected(selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }
    
}
